//
//  DatePicker.h
//  homeland
//
//  Created by SunShine on 13-10-30.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DatePicker : UIView
{
    void (^chooseDoneBlock)(NSDate *result);
}
-(void)initPickerWithMode:(UIDatePickerMode)mode DoneBlock:(void (^)(NSDate *result))doneBlock BeginDate:(NSDate *)begin EndDate:(NSDate *)end;
-(void)showDatePicker;
-(BOOL)hideDatePicker;
@end
